import { createApp } from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import i18n from './i18n';
import installElementPlus from './plugins/element';

// initialize style
import '@/styles/index.scss';
// import svgIcon
import installIcons from '@/icons';
// 全局属性
import installFilter from '@/filters';
// 指令
import installDirective from '@/directives';

import './permission';

const app = createApp(App);
installElementPlus(app);
installIcons(app);
installFilter(app);
installDirective(app);
app.use(store).use(router).use(i18n).mount('#app');
